<template>
	<view>
		<view>
			<piaoyi-comment-list :apprises="apprises"></piaoyi-comment-list> 
		</view>
		<view>
				<drag-button 
					:isDock="true"
					:existTabBar="true"
					@btnClick="btnClick"
					 />
		</view>	
	</view>
</template>

<script>
	import dragButton from "@/uni_modules/drag-button/components/drag-button/drag-button.vue";
	import piaoyiCommentList from '@/uni_modules/piaoyi-commentList/components/piaoyi-commentList/piaoyi-commentList.vue'
    export default {
		
		components: {
			piaoyiCommentList,
			dragButton
		},
		
        data() {
            return {
				apprises: []	
            }
        },
		created() {
				this.apprises=uni.getStorageSync('history')
		},
        methods: {
			btnClick(){
				uni.redirectTo({url:'/pages/index/passport'});//关闭本页面然后路由跳转;
			}
        }
    }
</script>

<style lang="scss" scoped>
    
</style>